#pragma once

#include <cvaux.h>
#include <highgui.h>
#include <vector>
#include "Utils.h"

class HOG
{
public:	
	IplImage** calculateIntegralHOG(IplImage* inImg, int nbins);	
	void calculateHOG_rect(CvRect cell, CvMat* hog_cell, IplImage** integrals, int nbins, int normalization);
	float ComputeHOGDistanceImg(IplImage* img1, CvRect rect1, IplImage* img2, CvRect rect2, int nbins);
	HOG(void);
	~HOG(void);
};
